﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.CompilerServices;
using System.IO;

namespace AutoEncodeDaemon
{
    class AutoEncodeLog
    {
        [MethodImpl(MethodImplOptions.Synchronized)]
        public static void Log2File(string Message)
        {
            File.AppendAllText("AutoEncode.log",DateTime.Now.ToString() + "   " + Message.Replace("\r\n"," ") + "\r\n");
        }
    }
}
